package net.hn.hnms.biz.emgcy.service;

import net.hn.hnms.biz.emgcy.domain.EmergencyTrainingPo;
import net.hn.hnms.sys.common.core.domain.ResponsePage;
import net.hn.hnms.sys.common.mybatis.core.page.PageQuery;

import java.util.List;

/**
 * @InterfaceName: EmergencyTrainingService
 * @Description 培训考评
 * @Author 王龙
 * @Date 2022-10-14
 * @Version 0.1
 */

public interface EmergencyTrainingService {
    /**
     * 培训考评-添加
     * @param emergencyTrainingPo
     * @return
     */
    Boolean add(EmergencyTrainingPo emergencyTrainingPo);

    /**
     * 培训考评-列表
     * @return
     */
    ResponsePage<EmergencyTrainingPo> pageList(PageQuery pageQuery, String name,  String mineCode);

    /**
     * 培训考评-根据ID删除
     * @param id
     * @return
     */
    Boolean delete(String id);

    /**
     * 培训考评-根据ID查看详情
     * @param id
     * @return
     */
    EmergencyTrainingPo getByID(String id);

    /**
     * 培训考评-根据ID批量删除
     * @param idList
     * @return
     */
    Boolean deleteAll(List<String> idList);
}
